home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #1 / Ham Radio 2000.iso / ham2000 / tcp_ip / ka9q / kit_src / screen.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-03  |  2.8 KB  |  71 lines

  1. /*    (C) Copyright 1991 Dave Fritsche (wb8zxu), All Rights Reserved.
  2.  * 
  3.  *    Redistribution and use in source and binary forms are permitted for
  4.  *    non-commercial use, provided that the above copyright notice and this
  5.  *    paragraph are duplicated in all such forms.  THIS SOFTWARE IS PROVIDED
  6.  *    ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
  7.  *    WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND
  8.  *    FITNESS FOR A PARTICULAR PURPOSE.
  9.  */
  10. #define TITLE        " DLF -- v910324 "
  11.  
  12. #define TSA        0
  13. #define TFA        0
  14. #define ISA        0
  15. #define IFA        0
  16.  
  17. #define BUFSZ        128
  18. #define MAXFIELDS    30
  19. #define LINESZ        80
  20.  
  21. #define UP        1
  22. #define DOWN        2
  23. #define LEFT        4
  24. #define RIGHT        8
  25. #define CR        16
  26. #define ESC        32
  27. #define F1        64
  28. #define F2        128
  29. #define F3        256
  30. #define F4        512
  31. #define F5        1024
  32. #define F6        2048
  33. #define F7        4096
  34. #define F8        8192
  35. #define F9        16384
  36. #define F10        32768
  37.  
  38. #ifdef    MAIN
  39. int tx[MAXFIELDS], ty[MAXFIELDS], tsa[MAXFIELDS], tfa[MAXFIELDS];
  40. int ix[MAXFIELDS], iy[MAXFIELDS], isa[MAXFIELDS], ifa[MAXFIELDS];
  41. int up[MAXFIELDS], dn[MAXFIELDS], l[MAXFIELDS], r[MAXFIELDS], nfields;
  42. char attrib;
  43. unsigned int rmask[MAXFIELDS], gate_rqd, debug, ka9q, g1emm, bm, netnews;
  44. unsigned char title[MAXFIELDS][LINESZ], iif[MAXFIELDS][LINESZ];
  45. unsigned char ift[MAXFIELDS][LINESZ], ifd[MAXFIELDS][LINESZ];
  46. unsigned int com1, com2, com3, com4, drsi_0, drsi_1, pc100_0, pc100_1;
  47. unsigned int nr_rqd, rmt_pass, ed_path, tz, pgr;
  48. unsigned long ip, gateway, com1spd, com2spd, com3spd, com4spd;
  49. unsigned long drsi_0spd, drsi_1spd, pc100_0spd, pc100_1spd;
  50. unsigned char buf[BUFSIZ], name[41], street[41], city[41], state[3];
  51. unsigned char zip[6], phone[14], callsign[10], password[10];
  52. unsigned char path[128], editor[41], timezone[10], pager[41];
  53. unsigned char com1typ[5], com2typ[5], com3typ[5], com4typ[5];
  54. unsigned char drsi_0typ[5], drsi_1typ[5], pc100_0typ[5], pc100_1typ[5];
  55. #else
  56. extern int tx[], ty[], tsa[], tfa[], ix[], iy[], isa[], ifa[];
  57. extern int up[], dn[], l[], r[], nfields;
  58. extern unsigned int rmask[], gate_rqd, debug, ka9q, g1emm, bm, netnews;
  59. extern unsigned char title[MAXFIELDS][LINESZ], iif[MAXFIELDS][LINESZ];
  60. extern unsigned char ift[MAXFIELDS][LINESZ], ifd[MAXFIELDS][LINESZ];
  61. extern unsigned int com1, com2, com3, com4, drsi_0, drsi_1, pc100_0, pc100_1;
  62. extern unsigned int nr_rqd, rmt_pass, ed_path, tz, pgr;
  63. extern unsigned long ip, gateway, com1spd, com2spd, com3spd, com4spd;
  64. extern unsigned long drsi_0spd, drsi_1spd, pc100_0spd, pc100_1spd;
  65. extern unsigned char buf[], name[], street[], city[], state[];
  66. extern unsigned char zip[], phone[], callsign[], password[];
  67. extern unsigned char path[], editor[], timezone[], pager[];
  68. extern unsigned char com1typ[], com2typ[], com3typ[], com4typ[];
  69. extern unsigned char drsi_0typ[], drsi_1typ[], pc100_0typ[], pc100_1typ[];
  70. #endif
  71.